﻿

using MediatR;
using Traceability.App.Api.DTOs;
using Traceability.App.ErrorCount;
using Traceability.App.Model;

namespace Traceability.App.Api.Application.Command.Basic
{
    public class GetBasicCommand:IRequest<ApiPaging<BasicDTO>>
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 15;
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int? Expiration { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? License { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string? Company { get; set; }
        public string? StoreName { get; set; }
        public string? Creator { get; set; } = string.Empty;
        public DateTime? CreatorDate { get; set; }
        public string? Updator { get; set; } = string.Empty;
        public DateTime? UpdatorDate { get; set; }
    }
}
